package com.whli.autumn.mall.metadata.domain.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.whli.autumn.core.extend.domain.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * <p>计量单位</p>
 *
 * @author whli
 * @version 1.0.0
 * @since 2023-05-22 13:57
 */
@TableName("t_meta_per_unit")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class PerUnit extends BaseEntity {

	/** 单位标识 */
	private String code;

	/** 单位名称 */
	private String name;

	/** 是否启用(0-否 1-是) */
	private Integer isEnable;

	/** 删除标识(0-否 1-是) */
	@TableLogic
	private Integer isDelete;

}
